<%@ Page Title="" MasterPageFile="~/BackOffice.master" Language="C#" AutoEventWireup="true" CodeBehind="CadastroAgenda.aspx.cs" Inherits="MakeIT.SGI.ERP.Apresentacao.CadastroAgenda" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<asp:Content ID="cHeadHttpEquiv" ContentPlaceHolderID="headHttpEquiv" runat="server">
</asp:Content>
<asp:Content ID="cHead" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="cCadastro" ContentPlaceHolderID="cphTituloCadastro" runat="server">
    Cadastro de Agenda (agenda)
</asp:Content>

<asp:Content ID="cMain" ContentPlaceHolderID="cphMain" runat="server">

    <asp:UpdatePanel ID="upnAgenda" runat="server">
        <ContentTemplate>
            <asp:TabContainer ID="tabAgenda" runat="server" ActiveTabIndex="0">
                <asp:TabPanel ID="tabPesquisa" runat="server" HeaderText="Pesquisa">
                    <ContentTemplate>
                        <div style="width: 100%; background-color:#eeeeff; min-width:400px; min-height:300px;">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td valign="middle" style="width:24px;">
                                        <asp:ImageButton ID="ibPesquisa" runat="server" OnClick="btnPesquisa_Click" 
                                                  ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/search.png" 
                                                  ToolTip="Executa a pesquisa aplicando os filtros"/>
                                    </td>
                                    <td valign="middle" align="left">
                                        Filtros:
                                    </td>
                                    <td>
                                        <div class="FormDiv">
                                            <div class="FormLabel">C&oacute;digo:</div>
                                            <asp:TextBox ID="txtIdAgenda" MaxLength="11" Width="76" onkeypress="strictNum();" onblur="validaDecimal(this.value,11,0);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                            <asp:MaskedEditExtender ID="meetxtIdAgenda" runat="server" Mask="99999999999" TargetControlID="txtIdAgenda" PromptCharacter="" />
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Filial:</div>
                                            <asp:DropDownList ID="ddlIdFilial" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="Filial" 
                                                DataValueField="PKString" ></asp:DropDownList>
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Assunto:</div>
                                            <asp:TextBox ID="txtAssunto" MaxLength="250" Width="100" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Local:</div>
                                            <asp:TextBox ID="txtLocal" MaxLength="250" Width="100" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Data:</div>
                                                <asp:TextBox ID="txtData" MaxLength="10" Width="80" onkeypress="MascaraData();" onblur="validaData();" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:ImageButton ID="imgtxtData" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/Calendario.png" />
                                                <asp:CalendarExtender ID="cetxtData" runat="server" DaysModeTitleFormat="dd/MM/yyyy"
                                                    Enabled="True" TargetControlID="txtData" BehaviorID="imgtxtData"
                                                    PopupButtonID="imgtxtData" Format="dd/MM/yyyy" TodaysDateFormat="dd/MM/yyyy">
                                                </asp:CalendarExtender>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                            <hr />
                            <asp:GridView ID="grvResultado" runat="server" AutoGenerateColumns="False" EmptyDataText="N&atilde;o foram encontrados registros nessa pesquisa!"
                                  CellPadding="1" ForeColor="#333333" GridLines="Both"  RowStyle-ForeColor="#333333" RowStyle-BackColor="#F7F6F3"
                                  AllowPaging="true" PageSize="50" OnPageIndexChanging="grvResultado_PageIndexChanging" >
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                            <asp:ImageButton ID="imgbVisualizar" runat="server" OnClick="imgbVisualizar_Click"
                                                ImageUrl="~/App_Themes/Padrao/imagens/backoffice/editar.gif" CommandArgument='<%#Eval("PKString") %>'
                                                ToolTip="Abrir formulário completo" />
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" />
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="idAgenda" HeaderText="C&oacute;digo" DataFormatString="{0:N0}"/>
                                    <asp:BoundField DataField="idFilialVO" HeaderText="Filial"/>
                                    <asp:BoundField DataField="assunto" HeaderText="Assunto"/>
                                </Columns>
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <EditRowStyle BackColor="#999999" />
                                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            </asp:GridView>
                        </div>
                    </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel ID="tabCadastro" runat="server" HeaderText="Cadastro">
                    <ContentTemplate>
                        <asp:Panel ID="panelCad" runat="server" BackColor="#eeeeee">
                            <div style="width: 100%; min-width:400px; min-height:300px;">
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td>
                                            <asp:Panel ID="panelBotoes" runat="server">
                                                <asp:Button ID="btnSalvar" runat="server" Enabled="False" ValidationGroup="Salvar"
                                                    OnClick="btnSalvar_Click" Text="Salvar" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnCancelar" runat="server" OnClick="btnCancelar_Click" 
                                                    Text="Cancelar" UseSubmitBehavior="false"/>
                                                <asp:Button ID="btnEditar" runat="server" Enabled="False" 
                                                    OnClick="btnEditar_Click" Text="Editar" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnExcluir" runat="server" Enabled="False" 
                                                    OnClick="btnExcluir_Click" Text="Excluir" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnNovo" runat="server" 
                                                    OnClick="btnNovo_Click" Text="Novo" UseSubmitBehavior="false"/>
                                                <asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="btnExcluir" ConfirmText="Confirma a exclus&atilde;o de Agenda?">
                                                </asp:ConfirmButtonExtender>
                                                <hr />
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">C&oacute;digo:</div>
                                                <asp:TextBox ID="txtCadIdAgenda" MaxLength="11" Width="76" onkeypress="strictNum();" onblur="validaDecimal(this.value,11,0);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:MaskedEditExtender ID="meetxtCadIdAgenda" runat="server" Mask="99999999999" TargetControlID="txtCadIdAgenda" PromptCharacter="" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Filial:</div>
                                                <asp:DropDownList ID="ddlCadIdFilial" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="Filial" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadIdFilial" runat="server" NavigateUrl="~/CadastroIdFilial.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdFilial" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadIdFilial" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlIdFilial" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Assunto:</div>
                                                <asp:TextBox ID="txtCadAssunto" MaxLength="250" Width="350" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadAssunto" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadAssunto" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadAssunto" runat="server" TargetControlID="rfvtxtCadAssunto"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Local:</div>
                                                <asp:TextBox ID="txtCadLocal" MaxLength="250" Width="350" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Data:</div>
                                                    <asp:TextBox ID="txtCadData" MaxLength="10" Width="80" onkeypress="MascaraData();" onblur="validaData();" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                    <asp:ImageButton ID="imgtxtCadData" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/Calendario.png" />
                                                    <asp:CalendarExtender ID="cetxtCadData" runat="server" DaysModeTitleFormat="dd/MM/yyyy"
                                                        Enabled="True" TargetControlID="txtCadData" BehaviorID="imgtxtCadData"
                                                        PopupButtonID="imgtxtCadData" Format="dd/MM/yyyy" TodaysDateFormat="dd/MM/yyyy">
                                                    </asp:CalendarExtender>
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadData" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadData" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadData" runat="server" TargetControlID="rfvtxtCadData"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Inicio:</div>
                                                <asp:TextBox ID="txtCadInicio" MaxLength="8" Width="30"  ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:MaskedEditExtender ID="meetxtCadInicio" runat="server" Mask="99:99:99" TargetControlID="txtCadInicio" PromptCharacter="" />
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadInicio" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadInicio" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadInicio" runat="server" TargetControlID="rfvtxtCadInicio"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Fim:</div>
                                                <asp:TextBox ID="txtCadFim" MaxLength="8" Width="30"  ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:MaskedEditExtender ID="meetxtCadFim" runat="server" Mask="99:99:99" TargetControlID="txtCadFim" PromptCharacter="" />
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadFim" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadFim" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadFim" runat="server" TargetControlID="rfvtxtCadFim"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <hr />
                                            <table  border="0" cellpadding="0" cellspacing="3">
                                                <tr>
                                                    <td class="FormLabel">
                                                        Data Cadastro:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Cadastrado por:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Data Edi&ccedil;&atilde;o:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Editado por:
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltDataCadastro" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltCadastradoPor" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltDataEdicao" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltEditadoPor" runat="server"></asp:Literal>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </asp:Panel>
                    </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel ID="tabAgendaxusuario" runat="server" HeaderText="Agendamento&nbsp;de&nbsp;usu&aacute;rios">
                    <ContentTemplate>
                        <asp:Panel ID="panelAgendaxusuario" runat="server" BackColor="#eeeeee">
                            <div style="width: 100%; min-width:400px; min-height:300px;">
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td>
                                            <div class="FormLabel">Agenda:</div>
                                            <div class="FormControl">
                                                <asp:Literal ID="ltCadAgendaxusuarioAgenda" runat="server"></asp:Literal>
                                             </div>
                                             <hr />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Panel ID="panelCadAgendaxusuarioBotoes" runat="server">
                                                <asp:Button ID="btnCadAgendaxusuarioSalvar" runat="server" Enabled="False" ValidationGroup="AgendaxusuarioSalvar"
                                                    OnClick="btnCadAgendaxusuarioSalvar_Click" Text="Salvar" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnCadAgendaxusuarioCancelar" runat="server" OnClick="btnCadAgendaxusuarioCancelar_Click" 
                                                    Text="Cancelar" UseSubmitBehavior="false"/>
                                                <asp:Button ID="btnCadAgendaxusuarioEditar" runat="server" Enabled="False" 
                                                    OnClick="btnCadAgendaxusuarioEditar_Click" Text="Editar" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnCadAgendaxusuarioExcluir" runat="server" Enabled="False" 
                                                    OnClick="btnCadAgendaxusuarioExcluir_Click" Text="Excluir" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnCadAgendaxusuarioNovo" runat="server" 
                                                    OnClick="btnCadAgendaxusuarioNovo_Click" Text="Novo" UseSubmitBehavior="false"/>
                                                <asp:ConfirmButtonExtender ID="ConfirmButtonExtenderAgendaxusuario" runat="server" TargetControlID="btnCadAgendaxusuarioExcluir" ConfirmText="Confirma a exclus&atilde;o de Agendamento&nbsp;de&nbsp;usu&aacute;rios?">
                                                </asp:ConfirmButtonExtender>
                                                <hr />
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">C&oacute;digo:</div>
                                                <asp:TextBox ID="txtCadAgendaxusuarioIdAgendaXUsuario" MaxLength="11" Width="76" onkeypress="strictNum();" onblur="validaDecimal(this.value,11,0);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:MaskedEditExtender ID="meetxtCadAgendaxusuarioIdAgendaXUsuario" runat="server" Mask="99999999999" TargetControlID="txtCadAgendaxusuarioIdAgendaXUsuario" PromptCharacter="" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Usu&aacute;rio:</div>
                                                <asp:DropDownList ID="ddlCadAgendaxusuarioIdUsuário" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="ToString()" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadAgendaxusuarioIdUsuário" runat="server" NavigateUrl="~/CadastroIdUsuário.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdUsuário" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadAgendaxusuarioIdUsuário" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlAgendaxusuarioIdUsuário" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Avisar:</div>
                                                <asp:DropDownList ID="ddlCadAgendaxusuarioAvisar" ForeColor="DarkBlue" Font-Bold="true" runat="server" > 
                                                    <asp:ListItem Text="Sim" Value="S"></asp:ListItem>
                                                    <asp:ListItem Text="N&atilde;o" Value="N"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Enviar&nbsp;email:</div>
                                                <asp:DropDownList ID="ddlCadAgendaxusuarioEmail" ForeColor="DarkBlue" Font-Bold="true" runat="server" > 
                                                    <asp:ListItem Text="Sim" Value="S"></asp:ListItem>
                                                    <asp:ListItem Text="N&atilde;o" Value="N"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Esp&eacute;cie:</div>
                                                <asp:TextBox ID="txtCadAgendaxusuarioEspecie" MaxLength="45" Width="280" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Tipo&nbsp;de&nbsp;Agendamento:</div>
                                                <asp:DropDownList ID="ddlCadAgendaxusuarioIdAgendaTipo" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="AgendaTipo" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadAgendaxusuarioIdAgendaTipo" runat="server" NavigateUrl="~/CadastroIdAgendaTipo.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdAgendaTipo" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadAgendaxusuarioIdAgendaTipo" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlAgendaxusuarioIdAgendaTipo" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <hr />
                                            <table  border="0" cellpadding="0" cellspacing="3">
                                                <tr>
                                                    <td class="FormLabel">
                                                        Data Cadastro:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Cadastrado por:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Data Edi&ccedil;&atilde;o:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Editado por:
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltAgendaxusuarioDataCadastro" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltAgendaxusuarioCadastradoPor" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltAgendaxusuarioDataEdicao" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltAgendaxusuarioEditadoPor" runat="server"></asp:Literal>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                                    <hr />
                                    <asp:GridView ID="grvCadAgendaxAgendaxusuario" runat="server" AutoGenerateColumns="False" EmptyDataText="N&atilde;o foram encontrados registros!"
                                          CellPadding="1" ForeColor="#333333" GridLines="Both"  RowStyle-ForeColor="#333333" RowStyle-BackColor="#F7F6F3" >
                                        <Columns>
                                            <asp:TemplateField>
                                                <ItemTemplate>
                                                    <asp:ImageButton ID="imgbVisualizar" runat="server" OnClick="imgbCadAgendaxusuarioVisualizar_Click"
                                                        ImageUrl="~/App_Themes/Padrao/imagens/backoffice/editar.gif" CommandArgument='<%#Eval("PKString") %>' />
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:TemplateField>
                                        <asp:BoundField DataField="idAgendaXUsuario" HeaderText="C&oacute;digo" DataFormatString="{0:N0}"/>
                                        <asp:BoundField DataField="idUsuárioVO" HeaderText="Usu&aacute;rio"/>
                                            <asp:BoundField DataField="Cadastro" HeaderText="Cadastro" DataFormatString="{0:dd/MM/yyyy HH:mm:ss}"/>
                                            <asp:BoundField DataField="CadastradoPor" HeaderText="Nome"/>
                                            <asp:BoundField DataField="Edicao" HeaderText="Edi&ccedil;&atilde;o" DataFormatString="{0:dd/MM/yyyy HH:mm:ss}"/>
                                            <asp:BoundField DataField="EditadoPor" HeaderText="Nome"/>
                                        </Columns>
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <EditRowStyle BackColor="#999999" />
                                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                    </asp:GridView>
                            </div>
                        </asp:Panel>
                    </ContentTemplate>
                </asp:TabPanel>
            </asp:TabContainer>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
